from django.urls import path
from .views import RegisterView, SendVerifyCodeView, LoginView, UserInfoView, LogoutView,user_profile
urlpatterns = [
    path('login/', LoginView.as_view(), name='login'),
    path('user_info/', UserInfoView.as_view(), name='user_info'),
    path('logout/', LogoutView.as_view(), name='logout'),
    path('register/', RegisterView.as_view(), name='register'),
    path('send_verify_code/', SendVerifyCodeView.as_view(), name='send_verify_code'),
    path('user_profile/', user_profile, name='user_profile'),
]
